.class public abstract Les/l9;
.super Ljava/lang/Object;
.source "MediaSource.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Les/l9$h;
    }
.end annotation


# instance fields
.field protected a:I

.field private b:Z

.field private final c:Ljava/lang/Object;

.field private d:Les/l9$h;

.field private e:Landroid/os/Handler;


# direct methods
.method public constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-boolean v0, p0, Les/l9;->b:Z

    .line 3
    new-instance v0, Ljava/lang/Object;

    invoke-direct {v0}, Ljava/lang/Object;-><init>()V

    iput-object v0, p0, Les/l9;->c:Ljava/lang/Object;

    const/4 v0, 0x0

    .line 4
    iput-object v0, p0, Les/l9;->e:Landroid/os/Handler;

    return-void
.end method


# virtual methods
.method a()Les/l9$h;
    .locals 2

    .line 8
    iget-object v0, p0, Les/l9;->c:Ljava/lang/Object;

    monitor-enter v0

    .line 9
    :try_start_0
    iget-object v1, p0, Les/l9;->d:Les/l9$h;

    monitor-exit v0

    return-object v1

    :catchall_0
    move-exception v1

    .line 10
    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method public a(J)V
    .locals 0

    return-void
.end method

.method protected a(Landroid/media/MediaFormat;)V
    .locals 3

    .line 15
    invoke-virtual {p0}, Les/l9;->a()Les/l9$h;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 16
    iget-object v1, p0, Les/l9;->e:Landroid/os/Handler;

    if-eqz v1, :cond_0

    .line 17
    new-instance v2, Les/l9$d;

    invoke-direct {v2, p0, v0, p1}, Les/l9$d;-><init>(Les/l9;Les/l9$h;Landroid/media/MediaFormat;)V

    invoke-virtual {v1, v2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    goto :goto_0

    .line 18
    :cond_0
    invoke-virtual {p0}, Les/l9;->h()Z

    move-result v1

    invoke-interface {v0, p0, v1, p1}, Les/l9$h;->b(Les/l9;ZLandroid/media/MediaFormat;)V

    :cond_1
    :goto_0
    return-void
.end method

.method public a(Les/l9$h;)V
    .locals 1

    const/4 v0, 0x0

    .line 1
    invoke-virtual {p0, p1, v0}, Les/l9;->a(Les/l9$h;Landroid/os/Handler;)V

    return-void
.end method

.method public a(Les/l9$h;Landroid/os/Handler;)V
    .locals 1

    .line 2
    iget-object v0, p0, Les/l9;->c:Ljava/lang/Object;

    monitor-enter v0

    .line 3
    :try_start_0
    iput-object p1, p0, Les/l9;->d:Les/l9$h;

    if-eqz p2, :cond_0

    .line 4
    invoke-virtual {p2}, Landroid/os/Handler;->getLooper()Landroid/os/Looper;

    move-result-object p1

    if-eqz p1, :cond_0

    .line 5
    iput-object p2, p0, Les/l9;->e:Landroid/os/Handler;

    goto :goto_0

    :cond_0
    const/4 p1, 0x0

    .line 6
    iput-object p1, p0, Les/l9;->e:Landroid/os/Handler;

    .line 7
    :goto_0
    monitor-exit v0

    return-void

    :catchall_0
    move-exception p1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p1
.end method

.method protected a(Ljava/lang/Exception;)V
    .locals 3

    .line 11
    invoke-virtual {p0}, Les/l9;->a()Les/l9$h;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 12
    iget-object v1, p0, Les/l9;->e:Landroid/os/Handler;

    if-eqz v1, :cond_0

    .line 13
    new-instance v2, Les/l9$c;

    invoke-direct {v2, p0, v0, p1}, Les/l9$c;-><init>(Les/l9;Les/l9$h;Ljava/lang/Exception;)V

    invoke-virtual {v1, v2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    goto :goto_0

    .line 14
    :cond_0
    invoke-virtual {p0}, Les/l9;->h()Z

    move-result v1

    invoke-interface {v0, p0, v1, p1}, Les/l9$h;->a(Les/l9;ZLjava/lang/Exception;)V

    :cond_1
    :goto_0
    return-void
.end method

.method protected a(Lcom/esfile/screen/recorder/media/util/l;)Z
    .locals 3

    .line 19
    invoke-virtual {p0}, Les/l9;->a()Les/l9$h;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 20
    iget-object v1, p0, Les/l9;->e:Landroid/os/Handler;

    if-eqz v1, :cond_0

    .line 21
    new-instance v2, Les/l9$f;

    invoke-direct {v2, p0, v0, p1}, Les/l9$f;-><init>(Les/l9;Les/l9$h;Lcom/esfile/screen/recorder/media/util/l;)V

    invoke-virtual {v1, v2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    goto :goto_0

    .line 22
    :cond_0
    invoke-virtual {p0}, Les/l9;->h()Z

    move-result v1

    invoke-interface {v0, p0, v1, p1}, Les/l9$h;->a(Les/l9;ZLcom/esfile/screen/recorder/media/util/l;)V

    :goto_0
    const/4 p1, 0x1

    return p1

    :cond_1
    const/4 p1, 0x0

    return p1
.end method

.method public b()I
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method protected b(Landroid/media/MediaFormat;)I
    .locals 3

    .line 1
    invoke-virtual {p0}, Les/l9;->a()Les/l9$h;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 2
    iget-object v1, p0, Les/l9;->e:Landroid/os/Handler;

    if-eqz v1, :cond_0

    .line 3
    new-instance v2, Les/l9$e;

    invoke-direct {v2, p0, v0, p1}, Les/l9$e;-><init>(Les/l9;Les/l9$h;Landroid/media/MediaFormat;)V

    invoke-virtual {v1, v2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    goto :goto_0

    .line 4
    :cond_0
    invoke-virtual {p0}, Les/l9;->h()Z

    move-result v1

    invoke-interface {v0, p0, v1, p1}, Les/l9$h;->a(Les/l9;ZLandroid/media/MediaFormat;)I

    move-result p1

    return p1

    :cond_1
    :goto_0
    const/4 p1, 0x0

    return p1
.end method

.method public abstract b(Lcom/esfile/screen/recorder/media/util/l;)V
.end method

.method public c()I
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public d()I
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public e()I
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public f()I
    .locals 1

    .line 1
    iget v0, p0, Les/l9;->a:I

    return v0
.end method

.method public g()I
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public abstract h()Z
.end method

.method protected i()V
    .locals 3

    .line 1
    invoke-virtual {p0}, Les/l9;->a()Les/l9$h;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 2
    iget-object v1, p0, Les/l9;->e:Landroid/os/Handler;

    if-eqz v1, :cond_0

    .line 3
    new-instance v2, Les/l9$g;

    invoke-direct {v2, p0, v0}, Les/l9$g;-><init>(Les/l9;Les/l9$h;)V

    invoke-virtual {v1, v2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    goto :goto_0

    .line 4
    :cond_0
    invoke-virtual {p0}, Les/l9;->h()Z

    move-result v1

    invoke-interface {v0, p0, v1}, Les/l9$h;->b(Les/l9;Z)V

    :cond_1
    :goto_0
    return-void
.end method

.method protected j()V
    .locals 3

    .line 1
    invoke-virtual {p0}, Les/l9;->a()Les/l9$h;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 2
    iget-object v1, p0, Les/l9;->e:Landroid/os/Handler;

    if-eqz v1, :cond_0

    .line 3
    new-instance v2, Les/l9$a;

    invoke-direct {v2, p0, v0}, Les/l9$a;-><init>(Les/l9;Les/l9$h;)V

    invoke-virtual {v1, v2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    goto :goto_0

    .line 4
    :cond_0
    invoke-virtual {p0}, Les/l9;->h()Z

    move-result v1

    invoke-interface {v0, p0, v1}, Les/l9$h;->c(Les/l9;Z)V

    :cond_1
    :goto_0
    return-void
.end method

.method protected k()V
    .locals 3

    .line 1
    invoke-virtual {p0}, Les/l9;->a()Les/l9$h;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 2
    iget-object v1, p0, Les/l9;->e:Landroid/os/Handler;

    if-eqz v1, :cond_0

    .line 3
    new-instance v2, Les/l9$b;

    invoke-direct {v2, p0, v0}, Les/l9$b;-><init>(Les/l9;Les/l9$h;)V

    invoke-virtual {v1, v2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    goto :goto_0

    .line 4
    :cond_0
    invoke-virtual {p0}, Les/l9;->h()Z

    move-result v1

    invoke-interface {v0, p0, v1}, Les/l9$h;->a(Les/l9;Z)V

    :cond_1
    :goto_0
    return-void
.end method

.method protected l()V
    .locals 0

    return-void
.end method

.method public m()V
    .locals 0

    return-void
.end method

.method public n()Z
    .locals 1
    .annotation build Landroidx/annotation/CallSuper;
    .end annotation

    const/4 v0, 0x0

    .line 1
    iput-boolean v0, p0, Les/l9;->b:Z

    const/4 v0, 0x1

    return v0
.end method

.method protected final o()V
    .locals 1

    .line 1
    invoke-virtual {p0}, Les/l9;->l()V

    .line 2
    monitor-enter p0

    const/4 v0, 0x1

    .line 3
    :try_start_0
    iput-boolean v0, p0, Les/l9;->b:Z

    .line 4
    invoke-virtual {p0}, Ljava/lang/Object;->notifyAll()V

    .line 5
    monitor-exit p0

    return-void

    :catchall_0
    move-exception v0

    monitor-exit p0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public final p()V
    .locals 2

    const-wide/16 v0, 0x0

    .line 1
    invoke-virtual {p0, v0, v1}, Les/l9;->a(J)V

    return-void
.end method

.method public q()V
    .locals 0

    .line 1
    invoke-virtual {p0}, Les/l9;->o()V

    return-void
.end method

.method public r()V
    .locals 1

    .line 1
    invoke-virtual {p0}, Les/l9;->q()V

    .line 2
    monitor-enter p0

    .line 3
    :goto_0
    :try_start_0
    iget-boolean v0, p0, Les/l9;->b:Z

    if-nez v0, :cond_0

    .line 4
    invoke-virtual {p0}, Ljava/lang/Object;->wait()V
    :try_end_0
    .catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    goto :goto_0

    :catchall_0
    move-exception v0

    goto :goto_1

    .line 5
    :catch_0
    :cond_0
    :try_start_1
    monitor-exit p0

    return-void

    :goto_1
    monitor-exit p0
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_3

    :goto_2
    throw v0

    :goto_3
    goto :goto_2
.end method

.method public s()V
    .locals 0

    return-void
.end method

.method public t()V
    .locals 0

    return-void
.end method
